
using System;
using System.Collections;

namespace Edge.Common.ComponentModel
{
    public interface IListProvider
    {
        ICollection Get();
    }


    [AttributeUsage(AttributeTargets.Property)]
    public class ListProviderAttribute : Attribute
    {
        private Type listPrividerType;

        public ListProviderAttribute(Type type)
        {
            this.listPrividerType = type;
        }

        public Type ListPrividerType
        {
            get
            {
                return listPrividerType;
            }
            set
            {
                listPrividerType = value;
            }
        }
    }
}